how to find the center